<html>

<head>
    <title>background demo2</title>

    <style>
        * {
            box-sizing: border-box;
        }
        .box {
            width: 300px;
            border: 5px solid lightblue;
            border-top-left-radius: 20px;
            border-bottom-right-radius: 40px;
            background:
                url(star.png) no-repeat 0 2.5em,
                url(star.png) no-repeat right 1em,
                url(star.png) no-repeat right 2.5em,
                url(star.png) no-repeat right 4em;
            padding: 0 2.5em;
        }

        h2 {
            text-align: center;
        }
    </style>
</head>

<body>
    <div class="box">
        <h2>Backgrounds & Borders</h2>
    </div>
</body>

</html>